import Authapi from '../../api/authapi'
const Mock = require('mockjs')

{
  let key = 'getIntersectionStatistics'
  let data = require('./getIntersectionStatistics.json')
  let config = new Authapi(key).urlMgr.urlMap.get(key)
  Mock.mock(config.url, config.method, data)
}

{
  let key = 'getPhaseStatistics'
  let data = require('./getPhaseStatistics.json')
  let config = new Authapi(key).urlMgr.urlMap.get(key)
  Mock.mock(config.url, config.method, data)
}
// 交通流
{
  let key = 'getAllTrafficData'
  let data = require('./getAllTrafficData.json')
  let config = new Authapi(key).urlMgr.urlMap.get(key)
  Mock.mock(config.url, config.method, data)
}
